package com.css.zfzx.data.postgresql.qhRiskLevelMapPointPG.service.impl;

import com.css.zfzx.data.postgresql.qhRiskLevelMapPointPG.repository.QhRiskLevelMapPointRepository;
import com.css.zfzx.data.postgresql.qhRiskLevelMapPointPG.service.QhRiskLevelMapPointPostgresqlService;
import com.css.zfzx.data.postgresql.qhRiskLevelMapPointPG.repository.entity.QhRiskLevelMapPointPostgresqlEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QhRiskLevelMapPointPostgresqlServiceImpl implements QhRiskLevelMapPointPostgresqlService {
    @Autowired
    private QhRiskLevelMapPointRepository qhRiskLevelMapPointRepository;


    @Override
    public void saveData(QhRiskLevelMapPointPostgresqlEntity postgresqlEntity) {
        qhRiskLevelMapPointRepository.save(postgresqlEntity);
    }
}
